package com.pet.shop.mappers.room;

import com.github.pagehelper.Page;
import com.pet.shop.dto.PageDto;
import com.pet.shop.entity.room.Monitor;

public interface MonitorMapper {

    int delete(Long id);

    int insert(Monitor record);

    Monitor get(Long id);

    int update(Monitor record);

    Page<Monitor> queryPage(PageDto<Monitor> page);

    Monitor queryBySn(String sn);
}